/**
 * 
 */
package edu.ucmo.cis.enrollment.vo;

import java.util.Date;
import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

/**
 * @author Jiang
 * Email:sjiangmo@gmail.com
 */
@PersistenceCapable
public class Course {
	@PrimaryKey
	@Persistent(valueStrategy=IdGeneratorStrategy.IDENTITY)
	private Long id;
	
	@Persistent
	private String courseNumber;
	
	@Persistent
	private String courseName;
	
	@Persistent
	private String courseDescription;
	
	@Persistent
	private Double courseHours;
	
	@Persistent
	private CourseType courseType;
	
	@Persistent
	private CourseTrack courseTrack;
	
	@Persistent
	private String preCourse;
	
	@Persistent
	private Date courseAddDate;

	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCourseNumber() {
		return courseNumber;
	}

	public void setCourseNumber(String courseNumber) {
		this.courseNumber = courseNumber;
	}

	public String getCourseName() {
		return courseName;
	}

	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}

	public String getCourseDescription() {
		return courseDescription;
	}

	public void setCourseDescription(String courseDescription) {
		this.courseDescription = courseDescription;
	}

	public Double getCourseHours() {
		return courseHours;
	}

	public void setCourseHours(Double courseHours) {
		this.courseHours = courseHours;
	}

	public CourseType getCourseType() {
		return courseType;
	}

	public void setCourseType(CourseType courseType) {
		this.courseType = courseType;
	}

	public CourseTrack getCourseTrack() {
		return courseTrack;
	}

	public void setCourseTrack(CourseTrack courseTrack) {
		this.courseTrack = courseTrack;
	}

	public String getPreCourse() {
		return preCourse;
	}

	public void setPreCourse(String preCourse) {
		this.preCourse = preCourse;
	}

	public Date getCourseAddDate() {
		return courseAddDate;
	}

	public void setCourseAddDate(Date courseAddDate) {
		this.courseAddDate = courseAddDate;
	}
	
	
	

}
